import { IResolution } from "@/api/service/resolution/types";

const t = translate("公共模块");
export const showModal = ref(false);
const formData: IResolution = {
  resolutionId: "",
  width: 0,
  height: 0,
  dpi: 300,
  mode: "0",
  scale: 1,
  toRotate: "0",
  description: "",
  code: "",
  color: "黑白红"
};
export const formModal = ref({
  ...formData
});
export const resetForm = () => {
  formModal.value = { ...formData };
};

export const rotateOptions = [
  {
    label: "是",
    value: "1"
  },
  {
    label: "否",
    value: "0"
  }
];
